package com.songlanyun.modules.pointconfig.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

/**
 * 积分配置日志
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-09-21 14:18:02
 */
@Data
@TableName("yxt_point_config_log")
public class PointConfigLog extends RootEntity<Integer, PointConfigLog> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 * 平台总积分
	 */
	private BigDecimal platformTotalPoint;
	/**
	 * 每日投放积分
	 */
	private BigDecimal everyDayPutIntPoint;
	/**
	 * 积分价格
	 */
	private BigDecimal pointPrice;
	/**
	 * 转赠手续费比率
	 */
	private BigDecimal giveAwayHandlingFeeRatio;

	/**
	 * 激活周期天数
	 */
	private Integer activationPeriodDay;

	/**
	 * 注册送贡献值
	 */
	private BigDecimal  registerGiveConsumption;


	/**
	 * 是否开启空投
	 */
	private Boolean openPutIn = true;

	/**
	 *
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 操作的管理员
	 */
	private String adminUsername;

	@Override
	public Integer getIdentity() {
		return getId();
	}
}
